projects
/
gtk+3.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37167ec
)
Give this code a chance to work
author
Matthias Clasen
<mclasen@redhat.com>
Wed, 15 Jun 2011 01:44:12 +0000
(21:44 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Wed, 15 Jun 2011 01:44:12 +0000
(21:44 -0400)
At least it does not get uninitialized variable warnings now.
gtk/gtktextview.c
patch
|
blob
|
history
diff --git
a/gtk/gtktextview.c
b/gtk/gtktextview.c
index be0393bde6ab0255bd4bbb93d7dcdef8646d0bb6..dc9addc478ac081ad019a83caaada947ae309b8c 100644
(file)
--- a/
gtk/gtktextview.c
+++ b/
gtk/gtktextview.c
@@
-7518,6
+7518,8
@@
adjust_allocation_recurse (GtkWidget *widget,
* into widget->allocation if the widget is not realized.
* FIXME someone figure out why this was.
*/
+ gtk_widget_get_allocation (widget, &allocation);
+
if (!gtk_widget_get_realized (widget))
{
if (gtk_widget_get_visible (widget))
@@
-7564,7
+7566,7
@@
adjust_allocation (GtkWidget *widget,
adjust_allocation_recurse (widget, &scroll_data);
}
-
+
static void
gtk_text_view_value_changed (GtkAdjustment *adjustment,
GtkTextView *text_view)